package com.ewanghuiju.app.base.contract.pintuan;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.response.PintuanOrderListResponBean;
import com.ewanghuiju.app.model.bean.response.ShareResponBean;

import java.util.List;

/**
 * @author sj  qq:751943509
 * @class 拼团订单
 * @time 2020/2/16
 */
public interface PintuanOrderListContract {

    interface View extends BaseView {

        void showContent(List<PintuanOrderListResponBean> list);

        void showMoreContent(List<PintuanOrderListResponBean> list);

        void showContentError();

        void refreshContent();

        void ptitakeDelivery();

        void showPtiptGoodsShare(ShareResponBean shareResponBean); //获取分享信息成功
    }

    interface Presenter extends BasePresenter<View> {

        void getData(int page, int order_type);

        void getMoreData(int page, int order_type);

        //确认收货
        void ptitakeDelivery(String order_id);

        void getPtiptGoodsShare(String goodsid, String groupid);//获取分享信息

    }
}
